package com.chen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<User> selectUserByMobileOrEmail(User user);

    List<User> selectUserByIdsAndParams(@Param("ids") List<Long> ids,
                                        @Param("username") String username,
                                        @Param("mobile") String mobile);
}